Nextend\Framework\Asset\Css\Less\LessCompiler D

Total Complexity 437
Dependencies 6
Dependents 3
Total lines 2,192
Lines of code 1,479
Logical lines of code 968
Comment lines 176
Methods 109
Properties 17

Methods 109

Method Rating Maintainability Complexity Lines of code
reduce()
D
31 31 114
compileProp()
C
32 26 97
patternMatch()
B
41 20 57
funcToColor()
B
43 19 43
compileValue()
B
41 18 50
tryImport()
A
43 13 45
evaluate()
A
45 12 42
op_number_number()
A
46 12 37
cachedCompile()
A
50 12 29
op_color_color()
A
49 11 29
findBlocks()
A
50 11 28
compileMediaQuery()
A
49 9 31
coerceColor()
A
46 8 41
toHSL()
A
51 9 25
zipSetArgs()
A
50 8 27
sortProps()
A
49 7 35
multiplyMedia()
A
55 8 20
lib__sprintf()
S
50 7 27
lib_mix()
S
52 6 23
compileBlock()
S
53 6 22
multiplySelectors()
S
55 6 21
get()
S
57 6 17
toRGB()
S
52 5 23
lib_e()
S
56 5 20
parse()
S
56 5 20
toRGB_helper()
S
66 6 7
lib_contrast()
S
55 4 22
findImport()
S
63 5 9
injectVariables()
S
59 4 13
stringConcatenate()
S
61 4 13
colorArgs()
S
56 3 20
compileMedia()
S
55 3 19
compileFile()
S
57 3 17
fixColor()
S
67 4 7
mediaParent()
S
65 4 9
coerceString()
S
62 3 13
compileSelectors()
S
62 3 12
findClosestSelectors()
S
63 3 12
compile()
S
57 2 17
lib_unit()
S
59 2 16
flattenList()
S
69 3 6
op_number_color()
S
72 3 5
checkedCompile()
S
68 3 7
lib_alpha()
S
71 3 5
compressList()
S
68 3 7
lib_rgbahex()
S
69 3 5
patternMatchAll()
S
65 3 9
compileImportedProps()
S
63 2 11
cexecute()
S
70 2 6
lib_ispixel()
S
77 2 3
lib_ispercentage()
S
77 2 3
lib_isem()
S
77 2 3
lib_isrem()
S
77 2 3
compileProps()
S
72 2 5
op_color_number()
S
72 2 4
assertNumber()
S
74 2 4
assertColor()
S
72 2 5
lib_red()
S
69 2 7
lib_green()
S
69 2 7
lib_blue()
S
69 2 7
expandParentSelectors()
S
63 2 10
__construct()
S
74 2 5
lib_fadein()
S
70 2 5
lib_fadeout()
S
70 2 5
lib_spin()
S
66 2 7
throwError()
S
71 2 6
ccompile()
S
70 2 6
toBool()
S
79 2 3
compileCSSBlock()
S
63 1 10
compileNestedBlock()
S
67 1 8
preg_quote()
S
79 1 3
newFormatter()
S
81 1 3
makeParser()
S
73 1 5
setFormatter()
S
81 1 3
setPreserveComments()
S
81 1 3
registerFunction()
S
80 1 3
unregisterFunction()
S
80 1 3
setVariables()
S
79 1 3
getVariables()
S
82 1 3
unsetVariable()
S
80 1 3
setImportDir()
S
80 1 3
addImportDir()
S
77 1 4
allParsedFiles()
S
82 1 3
addParsedFile()
S
79 1 3
compileRoot()
S
71 1 6
lib_darken()
S
69 1 6
set()
S
80 1 3
lib_ceil()
S
68 1 8
lib_saturate()
S
69 1 6
lib_desaturate()
S
69 1 6
lib_hue()
S
75 1 4
lib_saturation()
S
75 1 4
lib_lightness()
S
75 1 4
fileExists()
S
80 1 3
lib_fade()
S
71 1 5
lib_percentage()
S
68 1 8
lib_round()
S
68 1 8
lib_floor()
S
68 1 8
popEnv()
S
74 1 5
lib_argb()
S
80 1 3
clamp()
S
78 1 3
lib_iskeyword()
S
78 1 3
lib_iscolor()
S
80 1 3
lib_isstring()
S
78 1 3
lib_isnumber()
S
78 1 3
lib_lighten()
S
69 1 6
makeOutputBlock()
S
66 1 9
pushEnv()
S
68 1 8
eq()
S
80 1 3